$(document).ready(function(){
	$('button[name="sendKey"]').click(function(){
		//alert(H.getCookie("test"));
		var key = $('input[name="key"]').val();
		if(key == '')
		{
			alert('钥匙不可为空！');
			return false;
		}
	});
	var yang ='{"name":"Jahn","age":"64"}';
	H.setCookie("yang",yang);
	H.setCookie("jsset",'cookie中间件');
	//alert(H.getCookie('test'));
	console.log(document.cookie);
	//alert(document.cookie);
	
});